projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
231a1ba
)
Fix esh-proc-test/kill-pipeline-head loop syntax
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 7 Mar 2022 03:25:21 +0000
(
04:25
+0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 7 Mar 2022 03:25:21 +0000
(
04:25
+0100)
* test/lisp/eshell/esh-proc-tests.el
(esh-proc-test/kill-pipeline-head): Fix syntax of loop.
test/lisp/eshell/esh-proc-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/eshell/esh-proc-tests.el
b/test/lisp/eshell/esh-proc-tests.el
index 8cd893ce57022d3a653c6354aa51ea7ccbee2a2b..7dc9d29cfecad8800f70e770d2bf7b596b42ef4a 100644
(file)
--- a/
test/lisp/eshell/esh-proc-tests.el
+++ b/
test/lisp/eshell/esh-proc-tests.el
@@
-71,7
+71,7
@@
write the exit status to the pipe. See bug#54136."
(executable-find "sleep")))
(with-temp-eshell
(eshell-insert-command
- (concat "sh -c 'while true; sleep 1; done' | "
+ (concat "sh -c 'while true;
do
sleep 1; done' | "
"sh -c 'while read NAME; do echo =${NAME}=; done'"))
(let ((output-start (eshell-beginning-of-output)))
(kill-process (eshell-head-process))